package com.hanson.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hanson.entity.ScoreSeqBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ScoreSeqBeanMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ScoreSeqBean record);

    ScoreSeqBean selectByPrimaryKey(Integer id);

    List<ScoreSeqBean> selectByOpenId(@Param("openId") String openId);

    List<ScoreSeqBean> selectByOrderSeq(@Param("orderSeq") String orderSeq);

    List<ScoreSeqBean> selectPageByOpenId(Page<ScoreSeqBean> pageInfo, @Param("openId") String openId);

    List<ScoreSeqBean> selectAll();

    int updateByPrimaryKey(ScoreSeqBean record);

    int updateOpenId(@Param("oldId") String oldId, @Param("newId") String newId);
}